.flex(@dir, @justify, @align) {
  display: flex;
  flex-direction: @dir;
  justify-content: @justify;
  align-items: @align;
}

.flex-center {
  .flex(row, center, center);
}
.flex-between {
  .flex(row, space-between, center);
}
.flex-align {
  .flex(row, none, center);
}
.flex-column {
  .flex(column, center, center);
}
